﻿// -----------------------------------------------------------------------------
//   Document     :  RequestTokenParseArgs.cs
//   Description  :  
// 
//   Created by   :  Phong Linh, at 3/10/2009 10:53:19
//   Author       :  Phong Linh <langxangvn@gmail.com>
// 
//   Project      :  Core
//   Solution     :  RestOAuth
//   Copyright    :  [Type here]
//   License      :  [Type here]
//   Disclaimer   :  [Type here]
//  
//   Revision history
//   #       Date        	Changed by        		Description
//   1       3/12/2009      Phong Linh        		Initial
// -----------------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using OAuth.Net.Common;

namespace OAuth.Net.Consumer
{
    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    public class RequestTokenParseArgs : EventArgs
    {

        /// <summary>
        /// 
        /// </summary>
        private readonly OAuthResource _oauthResource;

        /// <summary>
        /// 
        /// </summary>
        /// <param name="httpResponse"></param>
        public RequestTokenParseArgs(OAuthResource oauthResource)
        {
            _oauthResource = oauthResource;
            IsHandled = false;
            OAuthParameters = null;
        }

        /// <summary>
        /// 
        /// </summary>
        public bool IsHandled { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public OAuthParameters OAuthParameters { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public OAuthResource OAuthResource
        {
            get { return _oauthResource; }
        }
    }
}
